const state = {
    echartDatas: null, // 存储图表数据
    sitestats: null, // 存储统计数据
};

const mutations = {
    upEchartDatas(state, echartDatas) {
        state.echartDatas = echartDatas;
    },
    upSitestats(state, sitestats) {
        state.sitestats = sitestats;
    },
};

export default {
    namespaced: true, // 启用命名空间
    state,
    mutations,
};
